<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="scripts/jquery-3.4.1.min.js"></script>
</head>
<body>
    <input type="file" id="file1" value="">
    <input type="button" id="btn" value="点击">

    <script>
        $(function(){
            $("#btn").click(function(){
                var file1=$("#file1").files;
                console.log(file1)
            })
        })
    </script>
</body>
</html>